package com.jianbing.shasha.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.jianbing.common.annotation.Excel;
import com.jianbing.common.core.domain.BaseEntity;

/**
 * 语音部分答案对象 shasha_voice_ans
 * 
 * @author ruoyi
 * @date 2024-06-16
 */
public class ShashaVoiceAns extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 文本 */
    @Excel(name = "文本")
    private String text;

    /** 情感类型 */
    @Excel(name = "情感类型")
    private String emotionType;

    /** 记录插入时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "记录插入时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date insertTime;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }
    public void setText(String text) 
    {
        this.text = text;
    }

    public String getText() 
    {
        return text;
    }
    public void setEmotionType(String emotionType) 
    {
        this.emotionType = emotionType;
    }

    public String getEmotionType() 
    {
        return emotionType;
    }
    public void setInsertTime(Date insertTime) 
    {
        this.insertTime = insertTime;
    }

    public Date getInsertTime() 
    {
        return insertTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("text", getText())
            .append("emotionType", getEmotionType())
            .append("insertTime", getInsertTime())
            .toString();
    }
}
